package com.cj.springtest2.service;

import com.cj.springtest2.model.User;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by chenjun on 2016/10/13.
 */
public interface IUserService {

    public ModelAndView doLogin(String username, String password, String loginurl);

    public ModelAndView doRegister(String username, String password, String loginurl);

    public User doLoginClient(String userName, String password);

    public boolean hasUser(int userId);
}
